package com.yao.mall.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author jiahua.yao
 * @version 1.0
 * @description 支付宝沙箱配置
 * @date 2024/4/9 10:06
 */
@Data
@Component
@ConfigurationProperties(prefix = "alipay")
public class AliPayConfig {
    /**
     * appid
     */
    private String appId;
    /**
     * 支付私钥
     */
    private String appPrivateKey;
    /**
     * 阿里云公钥
     */
    private String alipayPublicKey;
    /**
     * 支付完成跳转地址
     */
    private String notifyUrl;

}
